package com.hopes.bizz.risk.setting.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.BooleanEnum;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import com.hopes.boss.common.entity.ExcelVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author yumr
 * @Description 安全警示标识
 * @time 2023/8/16 12:58
 */
@Data
@ColumnWidth(30)
@ContentRowHeight(60)
@EqualsAndHashCode(callSuper = true)
@HeadStyle( horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER)
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.LEFT, verticalAlignment = VerticalAlignmentEnum.CENTER, wrapped = BooleanEnum.TRUE)
public class RiskSafetyWarningLabelExcelVO extends ExcelVO {

    private static final long serialVersionUID = 212778052057501998L;

    @ExcelProperty("序号")
    private Integer index;

    @ExcelProperty("类型")
    private String type;

    @ExcelProperty("描述")
    private String labelName;

    @ExcelProperty("图片")
    private byte[] image;

}
